package com.juli.v2xdemo.listener;

import com.juli.v2xdemo.entity.Bulletsan;

public class AddBulletsanListener extends AddEntityListener<Bulletsan>{

	public AddBulletsanListener(Bulletsan t) {
		super(t);
	}

	@Override
	protected void onLayoutFinish() {
		Bulletsan bullet = t;
		//初始化子弹的位置
    	bullet.setTranslationX(1280+200);
 		bullet.setTranslationY(-200);
		bullet.shot(1500,8000);
	}

}
